package com.books.service.back.impl;

import com.books.mapper.back.BackMapper;
import com.books.model.entity.back.Back;
import com.books.service.back.IBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author 饿熊的咆哮
 * @Date 2021/10/15 9:46
 * @Version 1.0
 */
@Service
@Transactional
public class BackServiceImpl implements IBackService {
    @Autowired
    private BackMapper backMapper;

    @Override
    public void addBack(Back back) {
        backMapper.addBack(back);
    }
}
